<!DOCTYPE html>
<html ng-app="myApp">
<head>
    <meta charset="utf-8">
   <link rel="stylesheet" href="../../../vendor/bootstrap3/css/bootstrap.min.css"/>
   <link rel="stylesheet" href="http://cdn.jsdelivr.net/foundation/4.3.2/css/foundation.min.css">
</head>
<body>
   <div ng-controller="signupController">
       <form name="signup_form" novalidate ng-submit="signupForm()"
             ng-controller="signupController">
           <label>Your name</label>
           <input type="text" placeholder="Name" name="name" ng-model="signup.name"
                  ng-minlength=3 ng-maxlength=20 required />
           <div class="error" ng-messages="signup_form.name.$error" ng-messages-include="template/error.html" >
           </div>
           <button type="submit">Submit</button>
       </form>

   </div>

   <script type="text/javascript" src="../../../vendor/angular/angular.min.js"></script>
   <script type="text/javascript" src="../../../vendor/angular/angular-messages.js"></script>
   <script type="text/javascript" src="index_message.js"></script>
</body>

</html>